package com.xiyu.service.enums.common.social;

import lombok.AllArgsConstructor;
import lombok.Getter;
import java.util.Arrays;
import com.xiyu.service.enums.common.IntArrayValuable;

/**
* 社交媒体类型
*/
@Getter
@AllArgsConstructor
public enum CommonSocialMediaTypeEnum implements IntArrayValuable {

    /**
    * WeChat
    */
    WECHAT(1, "WeChat"),
    /**
    * QQ
    */
    QQ(2, "QQ"),
    /**
    * FaceBook
    */
    FACEBOOK(3, "FaceBook"),
    /**
    * Instagram
    */
    INSTAGRAM(4, "Instagram"),
    /**
    * YouTube
    */
    YOUTUBE(5, "YouTube"),
    /**
    * Telegram
    */
    TELEGRAM(6, "Telegram"),
    /**
    * Twitter
    */
    TWITTER(7, "Twitter"),
    /**
    * Skype
    */
    SKYPE(8, "Skype"),
    /**
    * LinkedIn
    */
    LINKEDIN(9, "LinkedIn"),
    /**
    * ZALO
    */
    ZALO(10, "ZALO"),
    /**
    * Viber
    */
    VIBER(11, "Viber"),
    /**
    * 旺旺
    */
    WANGWANG(12, "旺旺"),
    /**
    * 钉钉
    */
    DINGDING(13, "钉钉"),
    /**
    * Tiktok
    */
    TIKTOK(14, "Tiktok"),
    /**
    * Line
    */
    LINE(15, "Line"),
    /**
    * VK
    */
    VK(16, "VK");

    private final Integer value;

    private final String label;

    public static final int[] VALUES = Arrays.stream(values()).mapToInt(CommonSocialMediaTypeEnum::getValue).toArray();

    @Override
    public int[] getValues() { return VALUES;}

    public static final String[] LABELS = Arrays.stream(values()).map(CommonSocialMediaTypeEnum::getLabel).toArray(String[]::new);

    @Override
    public String[] getLabels() { return LABELS; }

}
